



<div class="bjui-pageContent tableContent" id="div1">
    <table>
        <div style="height: 50px;text-align: center;font-size:30px;color: #101010 ">累计日产能(片)</div>
        <div style="height: 50px;text-align: center;font-size:30px;color: #101010 "><label id="show"></label></div>
        <div id="totaloutbyday" style="width:100%;height:90%;" ></div>
        <script  src="${request.getContextPath()}/js/echarts/echarts.js"></script>
        <script  src="${request.getContextPath()}/js/echarts/echarts-tool.js"></script>
        <g:if test="${seriesData.size()>0}">
            <script type="text/javascript">
                $(function () {
                    var contextPath = "${request.getContextPath()}";
                    eChartsTool.init(contextPath);
                    var theme = 'shine';
                    /*var stackText = 'Group';*/
                    var rotateValue = 40;

                    var typeData = [];
                    var legendData = [];
                    <g:each in="${legendDataList}">
                    legendData.push('${it}');
                    if(${percentItemList.contains(it)}){
                        typeData.push('line');
                    }else{
                        typeData.push('bar');
                    }
                    </g:each>

                    var yAxisData = ['',''];

                    var xAxisData = [];
                    <g:each in="${dayList}">
                    xAxisData.push('${it}');
                    </g:each>

                    var seriesData = ${seriesData};

                    eChartsTool.init(contextPath);
                    var monthOption = eChartsTool.initInlineYieldOption(legendData, xAxisData, seriesData, typeData, yAxisData, rotateValue);
                    var montChart = document.getElementById("totaloutbyday");
                    eChartsTool.setOption(theme, montChart, monthOption);
                    /*
                     $.CurrentNavtab.find('#start-date-input,#end-date-input').datetimepicker({
                     format:'yyyy-mm-dd hh',
                     autoclose: true,
                     todayBtn: true,
                     startView:1,
                     minView:1,
                     pickerPosition: "bottom-left",
                     language:'zh-CN',
                     startDate:'2016-01-01'
                     });

                     $.CurrentNavtab.find('.selectpicker').selectpicker();
                     */
                })


            </script>
            <script>
                $(function(){
                    $("#show").html("${dataList[0].TIME}")
                })

            </script>
        </g:if>
    </table>
    <form id="pagerForm1" data-toggle="ajaxsearch" action="${request.getContextPath()}/chipYieldLine/chipyieldlinerpt" method="post">
    <button style="VISIBILITY: hidden" id="auto" type="submit" class="btn-default" data-icon="search" >下一页</button>&nbsp;
</form>
</div>
